PeerRaiser\Model\Donor C

Total Complexity 104
Dependencies 3
Dependents 14
Total lines 829
Lines of code 391
Logical lines of code 259
Comment lines 262
Methods 31
Properties 16

Methods 31

Method Rating Maintainability Complexity Lines of code
save()
A
44 14 43
sanitize_columns()
A
47 10 37
decrease_donation_count()
A
51 9 27
decrease_value()
S
52 7 26
increase_donation_count()
S
54 7 21
delete_meta()
S
55 7 20
increase_value()
S
55 5 20
__construct()
S
55 4 21
get_profile_image()
S
54 4 19
maybe_connect_user()
S
61 4 12
add_note()
S
56 3 18
update()
S
60 3 14
setup_donor()
S
55 2 19
__set()
S
65 3 9
__isset()
S
64 3 9
__get()
S
67 2 8
insert_donor()
S
66 2 9
get_donors()
S
67 2 8
delete()
S
68 1 7
update_meta()
S
71 1 5
get_meta()
S
72 1 5
get_top_donors()
S
76 1 4
get_top_donors_to_campaign()
S
75 1 4
get_top_donors_to_fundraiser()
S
75 1 4
get_street_address_1()
S
79 1 3
get_street_address_2()
S
79 1 3
get_city()
S
79 1 3
get_state_province()
S
79 1 3
get_zip_postal()
S
79 1 3
get_country()
S
79 1 3
get_total_donors()
S
74 1 4